/**
 * @param {number[]} arr
 * @return {number}
 */
var maxChunksToSorted = function (arr) {
  let sortedArr = arr
  sortedArr.sort((a, b) => a - b)
  let count = 1
  let temp = []
  for(let i=0;i<arr.length;i++){
    if(arr[i]>)
  }
}
